package com.changgou.user.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/****
 * @Author:admin
 * @Description:Provinces构建
 * @Date 2019/6/14 19:13
 *****/
@Table(name="tb_collect")
public class Collect implements Serializable{

	@Id
    @Column(name = "id")
	private String id;//主键

	@Column(name = "username")
	private String username;//用户名

    @Column(name = "spu_id")
	private long spu_id;//商品id

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public long getSpu_id() {
		return spu_id;
	}

	public void setSpu_id(long spu_id) {
		this.spu_id = spu_id;
	}
}
